<?php
include("connect.php");
$UserID=$_REQUEST['UserID'];
$ActID=$_REQUEST['ActID'];
$sql="SELECT Identity FROM Contact WHERE UserID='".$UserID."' AND ActID='".$ActID."'";
mysqli_query($conn,"set names utf8mb4");
$result=mysqli_query($conn,$sql);
$data=mysqli_fetch_array($result);
$json=json_encode($data);
echo urldecode($json);

?>
